package com.itheima.rxdemo.Bean;

/**
 * Created by TUTU on 2016-11-19.
 */
public class Person {
    private String name;
    private int age;
    private int price;
    public Child child;

    public Person(String name, int age, int price, Child child) {
        this.name = name;
        this.age = age;
        this.price = price;
        this.child = child;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
